<?php

/**
 * inicio actions.
 *
 * @package    nfzz
 * @subpackage inicio
 * @author     Francisco Calderón <fjcalderon@gmail.com>
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class inicioActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)
  {
    $user = $this->getUser();
    if ($user->isAuthenticated())
    {
      return $this->redirect('@home');
    }
    $this->form = new sfGuardFormSignin();
  }
}
